package com.sz.biz.logistics.ord.constants;

/**
 * Function: 服务订单信息 <br>
 * Author: hpeng.wang. <br>
 * Date: 2017-12-09 13:54:00.
 */
public interface OrderTrackingConstants {

    class TrackingStatus {
        /**
         * 消息未同步给供应商或客户
         */
        public static final Integer TRACKING_STATUS_NUSYNC = 1;
        /**
         * 消息同步给供应商或客户
         */
        public static final Integer TRACKING_STATUS_SYNC = 2;
        /**
         * 多次尝试未成功，停止同步
         */
        public static final Integer TRACKING_STATUS_SYNC_FAIL = 3;
    }
    class TrackingType {
        /**
         * 系统发出
         */
        public static final Integer TRACKING_TYPE_SYSTEM = 1;
        /**
         * 系统自动生成的提交和已受理tracking 信息
         */
        public static final Integer TRACKING_TYPE_SYSTEM_AUTO = 3;
        /**
         * 页面手动发消息
         */
        public static final Integer TRACKING_TYPE_SYSTEM_PAGE = 4;
    }

    /**
     * 物流添加单号类型
     */
    class TrackingAddNoType {
        /**
         * 运单号
         */
        public static final Integer TRACKING_ADD_ORDER_NO_TYPE = 1;
        /**
         * 子单号
         */
        public static final Integer TRACKING_ADD_SUB_ORDER_NO_TYPE = 2;
    }
    class TrackingCode {
        public static final String TRACKING_CONFIRM_OUTGOING = "401";//
        public static final String TRACKING_OUTGOING = "310";

    }

}
